package com.example.tse.rbhttpservice.service.goods.model;

/**
* 收藏或取消收藏商品，若传递状态则根据值确定收藏或取消
* @author wliu
*  edit   tse
*/
public abstract class GoodsFavoriteRequest {


public  GoodsFavoriteRequest() {
goodsId=giveGoodsId();
status=giveStatus();
}


//商品ID
private String goodsId = "";

//收藏状态，0取消、1添加
private String status = "";

/**
* 商品ID
* @return goodsId
*/
public String getGoodsId() {
return this.goodsId;
}

/**
* 商品ID
* @return goodsId
*/
public void setGoodsId(String goodsId) {
this.goodsId = goodsId;
}


public abstract String giveGoodsId();

/**
* 收藏状态，0取消、1添加
* @return status
*/
public String getStatus() {
return this.status;
}

/**
* 收藏状态，0取消、1添加
* @return status
*/
public void setStatus(String status) {
this.status = status;
}


public abstract String giveStatus();

}
